Graphic objects and drawing elements > Property Panel > All properties and connections > ButtonValue
Type the integer value to use for this button. When the operator presses the button, the button changes to State 1 and the application sends this value to the data source.